﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace System.Models.Models
{
    /// <summary>
    /// 楼层表
    /// </summary>
    [Table("T_Storey")]
    public class Storey:BaseEntity
    {
        /// <summary>
        /// 期号,即哪一个楼盘
        /// </summary>
        [Required,Column(TypeName = "varchar"), StringLength(100)]
        public string IssueNumber { get; set; } = "一期";
        /// <summary>
        /// 几座
        /// </summary>
        [Required, Column(TypeName = "varchar"), StringLength(100)]
        public string SeatNunber { get; set; } = "一座";
        /// <summary>
        /// 房间号
        /// </summary>
        [Required, Column(TypeName = "varchar"), StringLength(100)]
        public string HoueNunber { get; set; }

    }
}
